home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Internet / The Dude / dude-install-3.5.exe / data / files / mibs / COLUBRIS-SYSLOG-MIB.txt < prev    next >
Encoding:
Text File  |  2009-12-11  |  6.1 KB  |  240 lines

  1. -- *****************************************************************
  2. -- COLUBRIS-SYSLOG-MIB.my:  Colubris Networks Syslog MIB file
  3. --
  4. -- November 2001
  5. --
  6. -- Copyright (c) 2001, 2002  by Colubris Networks, Inc.
  7. -- All rights reserved.
  8. -- *****************************************************************
  9.  
  10. COLUBRIS-SYSLOG-MIB DEFINITIONS ::= BEGIN
  11.  
  12. IMPORTS
  13.     MODULE-IDENTITY,
  14.     OBJECT-TYPE,
  15.     NOTIFICATION-TYPE
  16.         FROM SNMPv2-SMI
  17.     TEXTUAL-CONVENTION, 
  18.     TimeStamp,
  19.     DisplayString
  20.         FROM SNMPv2-TC
  21.     MODULE-COMPLIANCE,
  22.     OBJECT-GROUP
  23.         FROM SNMPv2-CONF
  24.     colubrisMgmt
  25.         FROM COLUBRIS-SMI;
  26.  
  27. colubrisSyslogMIB  MODULE-IDENTITY
  28.     LAST-UPDATED "200111210000Z"
  29.     ORGANIZATION "Colubris Networks, Inc."
  30.     CONTACT-INFO
  31.         "    Colubris Networks
  32.             Customer Service
  33.  
  34.         Postal: 420 Armand-Frappier, Suite 200
  35.             Laval, QC  H7V 4B4
  36.             CANADA
  37.  
  38.            Tel: +1 450 680-1661
  39.  
  40.         E-mail: cn-snmp@colubris.com"
  41.     DESCRIPTION
  42.         "Initial version of the SYSLOG MIB module."
  43.     ::= { colubrisMgmt 3 }
  44.  
  45. -- colubrisSyslogMIB definition
  46.  
  47. colubrisSyslogMIBObjects OBJECT IDENTIFIER ::= { colubrisSyslogMIB 1 }
  48.  
  49. -- MIB defines the following groupings
  50.  
  51. syslogConfig OBJECT IDENTIFIER ::=    { colubrisSyslogMIBObjects 1 }
  52. syslogMessage OBJECT IDENTIFIER ::= { colubrisSyslogMIBObjects 2 }
  53.  
  54. SyslogSeverity ::= TEXTUAL-CONVENTION
  55.     STATUS    current
  56.     DESCRIPTION
  57.         "Indicates the severity of a syslog message. This values is the
  58.         actual value the syslog daemon uses, plus 1. For example: the
  59.         value for debug severity will be 8 instead of 7."
  60.     SYNTAX    INTEGER
  61.     {
  62.         emergency(1),
  63.         alert(2),
  64.         critical(3),
  65.         error(4),
  66.         warning(5),
  67.         notice(6),
  68.         info(7),
  69.         debug(8)
  70.     }
  71.  
  72. syslogSeverityNotificationEnabled OBJECT-TYPE 
  73.     SYNTAX    INTEGER
  74.     {
  75.         disabled(0),
  76.         enabled(1)
  77.     }
  78.     MAX-ACCESS    read-write
  79.     STATUS    current
  80.     DESCRIPTION
  81.         "Specifies if syslogSeverityNotification notifications will be sent."
  82.     DEFVAL    { disabled }
  83.     ::= { syslogConfig 1 }
  84.  
  85. syslogRegExMatchNotificationEnabled OBJECT-TYPE 
  86.     SYNTAX    INTEGER
  87.     {
  88.         disabled(0),
  89.         enabled(1)
  90.     }
  91.     MAX-ACCESS    read-write
  92.     STATUS    current
  93.     DESCRIPTION
  94.         "Specifies if syslogRegExMatchNotification notifications will be sent."
  95.     DEFVAL    { disabled }
  96.     ::= { syslogConfig 2 }    
  97.  
  98. syslogSeverityLevel OBJECT-TYPE
  99.     SYNTAX    SyslogSeverity
  100.     MAX-ACCESS    read-write
  101.     STATUS    current
  102.     DESCRIPTION
  103.         "Specifies the severity level of messages that the syslog daemon will 
  104.          log. Only messages with a severity level equal to or greater than 
  105.          syslogSeverityLevel will be logged. A value of error(4) means that 
  106.          messages with warning, notice, info or debug severity will not be logged."
  107.     DEFVAL    { warning }
  108.     ::= { syslogConfig 3 }
  109.     
  110. syslogTrapSeverityLevel OBJECT-TYPE
  111.     SYNTAX    SyslogSeverity
  112.     MAX-ACCESS    read-write
  113.     STATUS    current
  114.     DESCRIPTION
  115.         "Specifies the severity level of messages that will generate a 
  116.          syslogSeverityNotification notification. A value of error(4) means 
  117.          that messages with warning, notice, info or debug severity will 
  118.          never generate a notification." 
  119.     DEFVAL    { warning }
  120.     ::= { syslogConfig 4 }
  121.  
  122. syslogMessageRegEx OBJECT-TYPE
  123.     SYNTAX    DisplayString
  124.     MAX-ACCESS    read-write
  125.     STATUS    current
  126.     DESCRIPTION
  127.         "Specifies the regular expression that will trigger a syslogRegExMatchNotification.
  128.          When set to an empty string, there is no attempt to match the syslog
  129.           message generated by the device with the content of syslogMessageRegEx."
  130.     ::= { syslogConfig 5 }    
  131.  
  132. syslogMsgNumber OBJECT-TYPE
  133.     SYNTAX    INTEGER
  134.     MAX-ACCESS  not-accessible    
  135.     STATUS    current
  136.     DESCRIPTION
  137.         "A unique ID representing a message."
  138.     ::= { syslogMessage 1 }
  139.     
  140. syslogMsgFacility OBJECT-TYPE
  141.     SYNTAX    DisplayString    
  142.     MAX-ACCESS    not-accessible
  143.     STATUS    current
  144.     DESCRIPTION
  145.         "A string representing the facility that sent the message."
  146.     ::= { syslogMessage 2  }
  147.  
  148. syslogMsgSeverity OBJECT-TYPE
  149.     SYNTAX    SyslogSeverity
  150.     MAX-ACCESS    not-accessible
  151.     STATUS    current
  152.     DESCRIPTION
  153.         "The severity level of the message."
  154.     ::= { syslogMessage 3  }
  155.  
  156. syslogMsgText OBJECT-TYPE
  157.     SYNTAX    DisplayString    
  158.     MAX-ACCESS    not-accessible
  159.     STATUS    current
  160.     DESCRIPTION
  161.         "The message."
  162.     ::= { syslogMessage 4 }
  163.  
  164. -- notifications
  165.  
  166. colubrisSyslogMIBNotificationPrefix OBJECT IDENTIFIER ::= { colubrisSyslogMIB 2 }
  167. colubrisSyslogMIBNotifications OBJECT IDENTIFIER ::= {colubrisSyslogMIBNotificationPrefix 0  }
  168.  
  169. syslogSeverityNotification NOTIFICATION-TYPE
  170.     OBJECTS
  171.     {
  172.         syslogMsgNumber,
  173.         syslogMsgFacility,
  174.         syslogMsgSeverity,
  175.         syslogMsgText
  176.     }
  177.     STATUS    current
  178.     DESCRIPTION
  179.         "Sent when the device generated a syslog message that is 
  180.          of the right severity level. This severity level is set by
  181.          syslogTrapSeverityLevel."
  182.   --#SUMMARY "Syslog severity trap for msg #%d severity %d: %s - %s"
  183.   --#ARGUMENTS { 0, 2, 1, 3 }
  184.   --#SEVERITY MAJOR
  185.   --#CATEGORY "Colubris Networks Alarms"
  186.     ::= { colubrisSyslogMIBNotifications 1 }
  187.  
  188. syslogRegExMatchNotification NOTIFICATION-TYPE
  189.     OBJECTS
  190.     {
  191.         syslogMsgNumber,
  192.         syslogMsgFacility,
  193.         syslogMsgSeverity,
  194.         syslogMsgText
  195.     }
  196.     STATUS    current
  197.     DESCRIPTION
  198.         "Sent when the device generated a syslog message that 
  199.          matches the regular expression specified in syslogMessageRegEx."
  200.   --#SUMMARY "Syslog regex match trap for msg #%d severity %d: %s - %s"
  201.   --#ARGUMENTS { 0, 2, 1, 3 }
  202.   --#SEVERITY MAJOR
  203.   --#CATEGORY "Colubris Networks Alarms"
  204.     ::= { colubrisSyslogMIBNotifications 2 }
  205.     
  206. -- conformance information
  207.  
  208. colubrisSyslogMIBConformance OBJECT IDENTIFIER ::= { colubrisSyslogMIB 3 }
  209. colubrisSyslogMIBCompliances OBJECT IDENTIFIER ::= { colubrisSyslogMIBConformance 1 }
  210. colubrisSyslogMIBGroups      OBJECT IDENTIFIER ::= { colubrisSyslogMIBConformance 2 }
  211.  
  212. -- compliance statements     
  213.  
  214. colubrisSyslogMIBCompliance MODULE-COMPLIANCE
  215.     STATUS current
  216.     DESCRIPTION
  217.         "The compliance statement for entities which implement
  218.          the Colubris Networks Syslog MIB."
  219.     MODULE
  220.         MANDATORY-GROUPS { colubrisSyslogMIBGroup }
  221.     ::= { colubrisSyslogMIBCompliances 1 }
  222.     
  223. -- units of conformance
  224.  
  225. colubrisSyslogMIBGroup OBJECT-GROUP
  226.     OBJECTS
  227.     {
  228.         syslogSeverityNotificationEnabled,
  229.         syslogRegExMatchNotificationEnabled,
  230.         syslogSeverityLevel,
  231.         syslogTrapSeverityLevel,        
  232.         syslogMessageRegEx
  233.     }
  234.     STATUS current
  235.     DESCRIPTION
  236.         "A collection of objects providing the Syslog MIB capability."
  237.     ::= { colubrisSyslogMIBGroups 1 }
  238. END
  239.  
  240.